package com.zm.authority.identity.po;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="zm_user")
public class ZmUser implements Serializable {
	@Id
    private String id;
	@Column(name="user_name")
    private String userName;
	@Column(name="password")
    private String password;
	@Column(name="salt")
    private String salt;
	@Column(name="name")
    private String name;
	@Column(name="depart_id")
    private String departId;
	@Column(name="job_id")
    private String jobId;
	@Column(name="email")
    private String email;
	@Column(name="phone")
    private String phone;
	@Column(name="address")
    private String address;
	@Column(name="sex")
    private Boolean sex;
	@Column(name="age")
    private Byte age;
	@Column(name="create_time")
    private Date createTime;
	@Column(name="update_time")
    private Date updateTime;
	@Column(name="is_delete")
    private Boolean isDelete;
	@Column(name="is_disable")
    private Boolean isDisable;
	@Column(name="is_admin")
    private Boolean isAdmin;
	@Column(name="org_id")
    private String orgId;
	@Column(name="ext1")
    private String ext1;
	@Column(name="ext2")
    private String ext2;
	@Column(name="ext3")
    private String ext3;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDepartId() {
        return departId;
    }

    public void setDepartId(String departId) {
        this.departId = departId;
    }

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Boolean getSex() {
        return sex;
    }

    public void setSex(Boolean sex) {
        this.sex = sex;
    }

    public Byte getAge() {
        return age;
    }

    public void setAge(Byte age) {
        this.age = age;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public Boolean getIsDisable() {
        return isDisable;
    }

    public void setIsDisable(Boolean isDisable) {
        this.isDisable = isDisable;
    }

    public Boolean getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(Boolean isAdmin) {
        this.isAdmin = isAdmin;
    }

    public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getExt1() {
        return ext1;
    }

    public void setExt1(String ext1) {
        this.ext1 = ext1;
    }

    public String getExt2() {
        return ext2;
    }

    public void setExt2(String ext2) {
        this.ext2 = ext2;
    }

    public String getExt3() {
        return ext3;
    }

    public void setExt3(String ext3) {
        this.ext3 = ext3;
    }

	@Override
	public String toString() {
		return "ZmUser [id=" + id + ", userName=" + userName + ", password=" + password + ", salt=" + salt + ", name="
				+ name + ", departId=" + departId + ", jobId=" + jobId + ", email=" + email + ", phone=" + phone
				+ ", address=" + address + ", sex=" + sex + ", age=" + age + ", createTime=" + createTime
				+ ", updateTime=" + updateTime + ", isDelete=" + isDelete + ", isDisable=" + isDisable + ", isAdmin="
				+ isAdmin + ", orgId=" + orgId + ", ext1=" + ext1 + ", ext2=" + ext2 + ", ext3=" + ext3 + "]";
	}
    
}